package com.sunlands.deskmate.message.handler.receiver;

import com.sunlands.deskmate.message.entity.Messages;
import io.netty.channel.Channel;

/**
 * @author anjunling@sunlands.com
 */
public interface Receiver {

    /**
     * 处理传入消息Receiver
     *
     * @param channel channel
     * @param message messages
     */
    void receive(Channel channel, Messages message);

}
